<?php
namespace Appstore\Widget;

use Think\Controller;

class WatchWidget extends Controller
{

    public function render($goods)
    {
        $goods['watched'] = D('AppstoreWatch')->checkWatched($goods['id']);
        $this->assign('data', $goods);
        $this->display(T('Application://Appstore@Widget/watch'));
    }

}